




*,
*::before,
*::after{
  box-sizing: border-box;
}

p { line-height: 1.6; }



html, body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;


}

body {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    background-color: #000;
    background-color: #FAFAFA;

    
}

/* ZENTRALER SEITENCONTAINER */





.header-left h1 {
    margin: 0;
    font-family: "Roboto", sans-serif;

}

header {
    height: auto;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 3.3rem;
}

header img {
    width: 34.25px;
    height: 34.25px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between  ;
    gap:1.5rem;
    text-decoration: none;
    font-size: 1rem;
    margin-left: auto;
    margin-right:3.313rem;
    background-color: #fff;
    height: 80px;

}



nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: 600;
}



header h1{
    font-size: 1.25rem;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    margin-left: 5.6875rem;
    margin-bottom: 2.5rem;
}

ul {
    list-style: none;
    display: flex;
    gap: 2.2rem;
    
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 0.9rem;
}

body h1{
    margin-bottom: -0.9375rem;
}

body h3{
    font-size: 1rem;
    font-family: "Source Sans 3", sans-serif;
    margin-bottom: -1.75rem;
}

.pictureContainer {
    font-family: "Source Sans 3", sans-serif;;
    display: grid;
    justify-content: center;
    gap: 1.625rem;
    padding: 0;

}

.MyJourney-container img {
    border-radius: 50%;
    width: 182px;
    height: 182px;
    margin-left: 3.25rem;

}

.MyJourney-container h1{
    margin-left: -15px;

}

.MyJourney-container {
    background-image: url(images/magical-fairytale-forest-background-magical-forest-landscape-background-nature-background-ai-generated-free-.jpg);
    background-size: cover;
    align-items: center;
    width: 100%;
    min-height: 388px;   /* statt height: 388px */
    height: auto;        /* neu */
    display: flex;
    flex-wrap: wrap;     /* erlaubt Umbruch */
    color: black;
    background-color: #FAFAFA;
    margin: 0 auto;
}



.MyJourney-container p{
    font-size: 1rem;
    margin-top: 35px;
    margin-left: -10px;

}



.Text-Commitment{
    text-align: left;
    padding-left: 6.875rem;
    padding-right: 6.875rem;
    background-color: #FAFAFA;
    margin-top: -3.438rem;
    max-width: 1500px;


}

.Text-Commitment h3{
    font-size: 1.25rem;
    
}

.Text-Commitment p {
    margin-top: 20px;
    margin-bottom: 2.75rem;   /* kleiner, aber noch lesbar */
    line-height: 1.6;
}



.MyJourney-Text{
        margin-left: 2.0rem;
        margin-bottom: 3.75rem;
        margin-top: 2.5rem;
        font-size: 2.188rem;
}




.h2-Main{
    text-align: center;
    margin-top: 7.75rem;
    background-color: #FAFAFA;
    margin-bottom: -2rem;
    
}

main{
    grid-area: main;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;

    justify-items: center;   /* zentriert Inhalt pro Spalte */
    align-items: start;

    padding: 3.25rem 3.3125rem;
    background-color: #FAFAFA;
    transition: box-shadow .25s ease, transform .25s ease;
    

    
} 

main img {
   width: 100%;             /* statt 50% */
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: box-shadow .25s ease, transform .25s ease;
    
}



main a {
    text-decoration: none;
    color: black;
}



.article-date{
    margin-bottom: -0.625rem;

}

.article-descr {
    margin-top: -0.9375rem;
}

.ViewMore{
    grid-column: 1 / -1;  
    display: block;
    font-size: 1rem;
    width: max-content;
    cursor: pointer;
    font-size: 0.885625rem;
    font-weight: bold;
    text-decoration: underline;
    margin: auto;  
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #202020;
    width: 100%;
    width: 100v;
    height: 6.563rem;
    color: #D7D7D7;
    font-size: 0.75rem;
    text-align: center;
}

#p-Journal{
    font-weight: bold;
    color: #ECECEC;
    margin-bottom: 1.225rem;
}

#p-Copyright {
    color: #D7D7D7;
    margin-top: -0.625rem;
}

/* Tablet — bis 900px → 2 Spalten */
@media (max-width: 900px) {

    header {
        padding: 0 2rem;
    }

    .header-left {
        margin-left: 2rem;
    }

    nav {
        margin-right: 2rem;
        gap: 1rem;

    }

    .Text-Commitment,
    .MyJourney-Text {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .MyJourney-Text p{
        margin-top: 35px;
    }

    .MyJourney-container{
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .MyJourney-container img{
        margin-bottom: -18px;
        margin-top: 20px;
    }

    .Text-Commitment p {
        line-height: 1.6; }  

    main{
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 2.5rem 2rem;
    }

    main img{
        height: 260px;
    }

     #p-Journal{
    margin-bottom: 1.4rem;
}

    #p-Copyright {
        margin-top: -0.625rem;
    }


}





@media (max-width: 480px) {

    body {
        max-width: 100%;
        line-height: 1.5;
    }

    /* Header */
    header {
        height: auto;
        padding: 1rem 0;
    }

    .header-left {
        margin-left: 1.5rem;
        gap: 0.5rem;
    }

    nav {
        margin-right: 1.5rem;
        height: 40px;
    }

    nav a {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    header img {
        width: 24px;
        height: 24px;
    }

    header h1 {
        font-size: 0.85rem;
        margin-bottom: 100px;
    }

    .MyJourney-Text p{
        margin-top: 35px;
        line-height: 1.55;
    }

    .MyJourney-text {
        max-width: 520px;
        margin: 0 auto;
    }

        .MyJourney-text h1 {
            font-size: 1.75rem; 
            line-height: 1.25;
        }

        

    /* Main Content */
    main {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 2rem 1.25rem;
    }

    main img{
        height: 220px;
        width: 100%;
        object-fit: cover;
    }

    /* Intro / Hero */
    .MyJourney-container{
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 2rem 0;
        text-align: center; 
    }

    .MyJourney-container img {
        margin: 1rem;
    }

    /* Text-Blöcke */
    .MyJourney-container,
    .Text-Commitment,
    .MyJourney-Text {
        width: 100%;
        margin: 0;
    }

    .Text-Commitment,
    .MyJourney-Text {
        max-width: 32rem;
    }

    /* Footer */
    footer {
        width: 100%;
    }

    #p-Journal{
    margin-bottom: 1.2rem;
}

    #p-Copyright {
        margin-top: -0.625rem;
    }
}




